package com.traffic.service;

import java.util.List;
import com.traffic.domain.PerLeaveCancellationRequests;

/**
 * 销假申请Service接口
 * 
 * @author 郭世纪
 * @date 2024-12-08
 */
public interface IPerLeaveCancellationRequestsService 
{
    /**
     * 查询销假申请
     * 
     * @param cancellationRequestId 销假申请主键
     * @return 销假申请
     */
    public PerLeaveCancellationRequests selectPerLeaveCancellationRequestsByCancellationRequestId(Long cancellationRequestId);

    /**
     * 查询销假申请列表
     * 
     * @param perLeaveCancellationRequests 销假申请
     * @return 销假申请集合
     */
    public List<PerLeaveCancellationRequests> selectPerLeaveCancellationRequestsList(PerLeaveCancellationRequests perLeaveCancellationRequests);

    /**
     * 新增销假申请
     * 
     * @param perLeaveCancellationRequests 销假申请
     * @return 结果
     */
    public int insertPerLeaveCancellationRequests(PerLeaveCancellationRequests perLeaveCancellationRequests);

    /**
     * 修改销假申请
     * 
     * @param perLeaveCancellationRequests 销假申请
     * @return 结果
     */
    public int updatePerLeaveCancellationRequests(PerLeaveCancellationRequests perLeaveCancellationRequests);

    /**
     * 批量删除销假申请
     * 
     * @param cancellationRequestIds 需要删除的销假申请主键集合
     * @return 结果
     */
    public int deletePerLeaveCancellationRequestsByCancellationRequestIds(Long[] cancellationRequestIds);

    /**
     * 删除销假申请信息
     * 
     * @param cancellationRequestId 销假申请主键
     * @return 结果
     */
    public int deletePerLeaveCancellationRequestsByCancellationRequestId(Long cancellationRequestId);
}
